package com.psy.counseling.entity;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author 陈兴海
 * @since 2022-05-31
 * id : 咨询预约id
 * teacherId: 咨询师id
 * visitId: 初访id
 * checkState: 审核状态
 * startTime: 咨询开始时间
 * endTime: 咨询结束时间
 * place: 咨询地点
 * sno: 用户名
 * realName：真实名
 * sex：性别
 * faculty：院系
 * telephone：手机号码
 * type：咨询类型
 * total：总的次数
 * report：咨询效果自评
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Ask implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long teacherId;

    private Long visitId;

    private String checkState;

    private String startTime;

    private String endTime;

    private String place;

    private String sno;

    private String realName;

    private String sex;

    private String faculty;

    private String telephone;

    private String type;

    private Integer total;

    private String report;

    private Integer day;

    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;


}
